package com.uam.core.lk.utils;


import org.apache.commons.lang3.StringUtils;

import java.util.Locale;
import java.util.UUID;
/**
 * @author 祝展
 * @version 1.0
 * @description
 * @Date 2019/10/31 09:22
 **/
public class UUIDUtil {

    public static String uuid() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static String uuidCharUpper(){
        String ori = uuid();
        if(StringUtils.isNotBlank(ori)){
            return ori.toUpperCase(Locale.CHINA);
        }
        return null;
    }
}
